home *** CD-ROM | disk | FTP | other *** search
/ Internet Tools (InfoMagic) / Internet Tools.iso / dos_win / winsock / maillist / 94-05.Z / 94-05 / 000294_news@bigblue.oit.unc.edu_Sat May 21 04:49:53 1994.msg < prev    next >
Internet Message Format  |  1994-05-31  |  7KB

  1. Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  2.           id AA09258; Sat, 21 May 1994 00:25:12 -0400
  3. Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
  4.           id AA16300; Fri, 20 May 1994 23:59:27 -0400
  5. Received: from GATEWAY by bigblue with netnews
  6.     for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
  7. To: winsock@sunsite.unc.edu
  8. Date: Sat, 21 May 1994 04:49:53 GMT
  9. From: jones@cbdb1.nimh.nih.gov (Doug Jones)
  10. Message-Id: <jones.44.00ABADDE@cbdb1.nimh.nih.gov>
  11. Organization: CBDB/NIMH/NIH
  12. Sender: ses
  13. References: <2riq40$316@agate.berkeley.edu>
  14. Subject: Re: Problem with install Trumpet with Windows for Workgroups
  15.  
  16. In article <2riq40$316@agate.berkeley.edu> ewang@alumni.EECS.Berkeley.EDU (Edward Wang) writes:
  17. >From: ewang@alumni.EECS.Berkeley.EDU (Edward Wang)
  18. >Subject: Problem with install Trumpet with Windows for Workgroups
  19. >Date: 20 May 1994 16:56:32 GMT
  20. >Keywords: Workgroup for Windows, WINPKT
  21. >I'm having problems installing the Trumpet Winsock with Windows for
  22. >Workgroups.  According to the Trumpet Winsock instructions I need to
  23. >call WINPKT in my autoexec.bat file.  However WINPKT takes a "vector" or
  24. >a Software Interrupt Address as an argument.  How do I find out what "vector"
  25. >WfW is using?  (The suggested default 0x60 doesnt't work.)
  26. >I've got Trumpet to work by using my network card's default driver.  I found
  27. >the "vector" to use in the card's *.cfg file.  However, when I do this I
  28. >can't see any other workgroup machines anymore.  So does anyone know what
  29. >"vector" Windows for Workgroup's driver uses?
  30. >                                                        Thanks,
  31. >                                                        Edward
  32. The vector it wants is the one from the packet driver, WFWG doesn't have one,
  33. it uses NDIS, so you need the NDIS-packet driver shim, DIS_PKT. DIS_PKT
  34. loads in your AUTOEXEC.BAT before WINPKT, and the default for it is 0x60.
  35. Under WFWG, instead of being loaded in CONFIG.SYS, you have to tell
  36. WFWG to load it as a "real mode" driver with a line in your SYSTEM.INI, and
  37. you have to change "Load RMdrivers" to yes, something like:
  38. ...
  39. [network drivers]
  40. netcard=elnkii.dos
  41. transport=*netbeui,ndishlp.sys,C:\<some path>\DIS_PKT.DOS
  42. devdir=C:\WINDOWS
  43. LoadRMDrivers=YES
  44. ...
  45. Then you have to put the packet driver stuff in to PROTOCOL.INI...
  46. Trumpet's doc's have some examples...
  47. To make life easier, I am attaching below 2 files, cut them out, name
  48. them appropriately, and put them with your Trumpet Winsock distribution
  49. file. Then you can use the "Network Setup" icon in WFWG to do a
  50. [Add Protocol..], Unlisted..., and [Browse] to the location of the files
  51. and the Trumpet Winsock distribution. The oemsetup.inf should do
  52. the rest for you, and you can change setup parameters here also.
  53. Back-up you stuff first (CONFIG.SYS, AUTOEXEC.BAT, SYSTEM.INI
  54. etc.) ther's no warranty with this stuff:
  55.  
  56.  
  57. vvvvv CUT HERE vvvvv first of two files , name this file OEMSETUP.INF
  58.  
  59. ; OEMSETUP.INF file for Peter R. Tattam Trumpet TCP/IP for
  60. ; Windows for Workgroups and DOS Workgroup Connection.
  61. ; These programs are Copyright (C) 1991,1992,1993,1994
  62. ; by Peter R. Tattam. All Rights Reserved.
  63. ;
  64. ; DISCLAIMER:
  65. ; Installation and use of this OEMSETUP.INF and WINPKT.BAT are
  66. ; strictly and entirely at your own risk. These are presented
  67. ; as is, and no warranty is either expressed or implied. If you
  68. ; choose to use these software and procedures, then you are
  69. ; solely responsible for any and all problems and/or damages,
  70. ; immediate or consequential.
  71. ;
  72. ; HISTORY:
  73. ; 19 Jan 94 - Original OEMSETUP.INF by  B. Armstrong
  74. ;             (email armstrob@systems.ssgnet.dsto.au)
  75. ; 23 Mar 94   Modified by Douglas W. Jones
  76. ;             (email jones@cbdb1.nimh.nih.gov)
  77. ;             - made generic reference to dis_pkt.dos
  78. ;             - added choice of interrupt and chain
  79. ;               vectors avoiding those commonly used by
  80. ;               other processes (61, 62, 64, 67-77, and 7A)
  81. ;             - replaced loading of winpkt.com with loading
  82. ;               of accompanying winpkt.bat which automatically
  83. ;               locates pktdrv interrupt value
  84.  
  85. [disks]
  86. 1=.,"Trumpet TCP/IP for Windows for Workgroups 3.1x",disk1
  87.  
  88. [nwsdata]
  89. autoexec_anchor="net start"
  90. config_anchor="workgrp.sys"
  91.  
  92. [netcard]
  93.  
  94. [transport]
  95. pktdrv="Trumpet TCP/IP",0,ndis,tcp,real,0,implicit,pktdrv,pktdrv_xif
  96.  
  97. [pktdrv]
  98. devdir = 1:dis_pkt.dos,1:winpkt.com,1:winpkt.bat
  99. netdir = 1:hosts,1:protocol,1:services
  100. windir = 1:tcpman.exe,1:winsock.dll
  101. device = dis_pkt.dos,@devdir\dis_pkt.dos
  102. load   = winpkt.bat,"call @devdir\winpkt.bat @devdir\"
  103. sysparm=network drivers,LoadRMDrivers,Yes,minval
  104.  
  105. [pktdrv_xif]
  106. drivername = pktdrv$
  107. param  = intvec,"Interrupt vector",text,"0x60,0x63,0x65,0x66,0x78,0x79,0x7B,0x7C,0x7D,0x7E,0x7F",0x60
  108. param  = chainvec,"Chain vector",text,"0x60,0x63,0x65,0x66,0x78,0x79,0x7B,0x7C,0x7D,0x7E,0x7F",0x66
  109. param  = novell,"Old Novell 802.3 packets",text,"Yes,No",No
  110.  
  111. vvvvv CUT HERE vvvvv second and last file, name this file WINPKT.BAT
  112.  
  113. @ECHO OFF
  114. rem WINPKT.BAT
  115. rem
  116. rem USAGE:
  117. rem Automatically invoked by accompanying
  118. rem OEMSETUP.INF as a CALL from AUTOEXEC.BAT
  119. rem following the NET START command, i.e.
  120. rem after DIS_PKT.DOS has loaded. This allows
  121. rem automatic detection of PKTDRV interrupt
  122. rem vector by WINPKT, and, thus, allows
  123. rem setting this vector via the standard
  124. rem Windows for Workgroups 3.1x dialogue boxes
  125. rem (Network Setup [Drivers...] [Setup...]).
  126. rem
  127. rem DESCRIPTION:
  128. rem This batch file tries to load WINPKT with
  129. rem successive PKTDRV interrupt vector values
  130. rem until WINPKT returns with ERRORLEVEL 0
  131. rem indicating that it found a loaded PKTDRV.
  132. rem Only values available in the accompanying
  133. rem OEMSETUP.INF (0x60,0x63,0x65,0x66,0x78,0x79,
  134. rem 0x7B,0x7C,0x7D,0x7E,and 0x7F) are tested.
  135. rem This is a brute force "kludge" and could be
  136. rem accomplished much more graceful from within
  137. rem WINPKT (as it is by PKTMUX).
  138. rem
  139. rem HISTORY:
  140. rem 22 Mar 94 - Original by Douglas W. Jones
  141. rem             (email jones@cbdb1.nimh.nih.gov)
  142. rem
  143. rem
  144. SET pktdrv_vec=0x60
  145. %1winpkt.com %pktdrv_vec% > NUL:
  146. IF ERRORLEVEL 1 GOTO try63
  147. GOTO loaded
  148. :try63
  149. SET pktdrv_vec=0x63
  150. %1winpkt.com %pktdrv_vec% > NUL:
  151. IF ERRORLEVEL 1 GOTO try65
  152. GOTO loaded
  153. :try65
  154. SET pktdrv_vec=0x65
  155. %1winpkt.com %pktdrv_vec% > NUL:
  156. IF ERRORLEVEL 1 GOTO try66
  157. GOTO loaded
  158. :try66
  159. SET pktdrv_vec=0x66
  160. %1winpkt.com %pktdrv_vec% > NUL:
  161. IF ERRORLEVEL 1 GOTO try78
  162. GOTO loaded
  163. :try78
  164. SET pktdrv_vec=0x78
  165. %1winpkt.com %pktdrv_vec% > NUL:
  166. IF ERRORLEVEL 1 GOTO try79
  167. GOTO loaded
  168. :try79
  169. SET pktdrv_vec=0x79
  170. %1winpkt.com %pktdrv_vec% > NUL:
  171. IF ERRORLEVEL 1 GOTO try7B
  172. GOTO loaded
  173. :try7B
  174. SET pktdrv_vec=0x7B
  175. %1winpkt.com %pktdrv_vec% > NUL:
  176. IF ERRORLEVEL 1 GOTO try7C
  177. GOTO loaded
  178. :try7C
  179. SET pktdrv_vec=0x7C
  180. %1winpkt.com %pktdrv_vec% > NUL:
  181. IF ERRORLEVEL 1 GOTO try7D
  182. GOTO loaded
  183. :try7D
  184. SET pktdrv_vec=0x7D
  185. %1winpkt.com %pktdrv_vec% > NUL:
  186. IF ERRORLEVEL 1 GOTO try7E
  187. GOTO loaded
  188. :try7E
  189. SET pktdrv_vec=0x7E
  190. %1winpkt.com %pktdrv_vec% > NUL:
  191. IF ERRORLEVEL 1 GOTO try7F
  192. GOTO loaded
  193. :try7F
  194. SET pktdrv_vec=0x7F
  195. %1winpkt.com %pktdrv_vec% > NUL:
  196. IF ERRORLEVEL 1 GOTO notloaded
  197. GOTO loaded
  198. :notloaded
  199. ECHO ERROR: WINPKT not loaded; PKTDRV not found
  200. GOTO exit
  201. :loaded
  202. ECHO WINPKT loaded; PKTDRV using interrupt %pktdrv_vec%
  203. :exit
  204. SET pktdrv_vec=
  205.